import request from '@/utils/request'

//查询
export function listHandle(data) {
  return request({
    url: 'internalRecommendation/list',
    method: 'post',
    data
  })
}

export function listHandle2(data) {
  return request({
    url: 'internalInformation/list',
    method: 'post',
    data
  })
}

// 内部推荐添加
export function addHandle(data){
	return request({
	  url: 'internalInformation/add',
	  method: 'post',
	  data
	})
}

// 学历
export function getEducationalBackground(data){
	return request({
	  url: 'internalInformation/getEducationalBackground',
	  method: 'post',
	  data
	})
}

// 办公地点
export function getOfficeLocation(data){
	return request({
	  url: 'internalInformation/getOfficeLocation',
	  method: 'post',
	  data
	})
}

// 详情
export function queryByIdHandle(data){
	return request({
	  url: 'internalRecommendation/queryById',
	  method: 'post',
	  data
	})
}


export default { 
	listHandle,
	listHandle2,
	addHandle,
	getEducationalBackground,
	getOfficeLocation,
	queryByIdHandle
}
